#include <stdio.h>

/************************************************
 @author : xiaozhi
 Copyright : copyright (c)  wise  2005
 date : 4.21 17:47
*************************************************/
#define INT  int
#define FOL  float

void main(void)
{
    int inte, tempint, temptwo;
    float flo, tempflo;
    char cha, tempch;
    printf("input one number:\n");
    scanf("%f\n", &flo);
    printf("%f\n",flo);
    printf("tempint = %d\n", tempint = (int)flo);
    /*
    scanf("%f\n", &fol);
    if (scanf("%d\n", &inte))
    { float temp;
      temp = (float)inte;
      printf("%f\n",temp);
     // continue;
    }
    else
    {
       int tempint;
       tempint = (int)fol;
       printf("%d\n",&tempint);
      // continue;

    }


     scanf ("%d\n", &inte)  ;
     tempflo = (float)inte;
     printf ("%f\n",tempflo);
     scanf ("%f\n", &flo);
     tempint = (int)flo;
     printf ("%d\n", tempint);
    // continue;
    /*
     if (scanf("%c\n", &cha))
     {
       cha == EOF;

     }


     while (cha == EOF)
     { return; }


    scanf("%c\n",&cha);
    temptwo = (int)cha;
    printf("%d\n",temptwo); */

    getchar();
}
